package com.dyj.service.impl;

import java.util.List;

import com.dyj.dao.ProvinceDAO;
import com.dyj.model.Province;
import com.dyj.service.ProvinceService;

public class ProvinceServiceImpl implements ProvinceService {
	
	private ProvinceDAO provinceDAO = null;

	public void setProvinceDAO(ProvinceDAO provinceDAO) {
		this.provinceDAO = provinceDAO;
	}

	public List<Province> getAllProvince() {
		return provinceDAO.selectAllProvince();
	}

}
